
function sickLeavejumpPage(pageNo) {
	$("#pageNo").val(pageNo);
	$("#sickLeaveMainForm").submit();
}

function searchSickLeave() {
	$("#order").val("");
	$("#orderBy").val("");
	$("#pageNo").val("1");
	$("#sickLeaveMainForm").submit();
}
function input() {  
	sickLeaveMainForm.action = "leave!input.action";  
	sickLeaveMainForm.submit(); 
} 

function deleteSickLeaves(id){
	if(window.confirm("确定要删除吗?")){ 
		$("#id").attr("value",id);
		sickLeaveMainForm.action = "leave!delete.action";
		$("#sickLeaveMainForm").submit();
    }
}